package ru.averta.notes.service.security;

import java.io.Serializable;

import org.springframework.security.acls.model.AccessControlEntry;
import org.springframework.security.acls.model.MutableAcl;
import org.springframework.security.acls.model.ObjectIdentity;
import org.springframework.security.acls.model.Permission;
import org.springframework.security.acls.model.Sid;
import org.springframework.security.core.context.SecurityContext;

import ru.averta.notes.domain.User;

public interface SecurityService extends SecurityContextFacade {

    public String getCurrentUserName();

    public boolean isLoggedIn();

    public User getCurrentUser();

    public void loginAs(String user, String password);

}
